From a2a89e50f92b38ef0007bde620e76579e657fb94 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm Date: Mon, 9 Feb 2004 00:47:53 +0000 Subject: [PATCH] Added extra dependencies in the recompile target needed to cope with the compile time macro expansions in CC Mode. --- lisp/Makefile.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 8baf0278fe9..49d3ffda651 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -273,9 +273,15 @@ compile-after-backup: backup-compiled-files compile-always # Note that this doesn't create .elc files. It only recompiles if an # .elc is present. -recompile: doit +recompile: doit progmodes/cc-mode.elc $(EMACS) $(EMACSOPT) -f batch-byte-recompile-directory $(lisp) +# CC Mode uses a compile time macro system which causes a compile time +# dependency in cc-mode.elc on the macros in cc-langs.el and the +# version string in cc-defs.el. +progmodes/cc-mode.elc: progmodes/cc-mode.el progmodes/cc-langs.el progmodes/cc-defs.el + $(EMACS) $(EMACSOPT) -f batch-byte-compile progmodes/cc-mode.el + # Prepare a bootstrap in the lisp subdirectory. # # Build loaddefs.el, because it's not sure it's up-to-date, and if it's not, -- 2.30.2